package com.xdj.chashuiwu.study.service.impl;

import com.xdj.chashuiwu.study.dao.LTypeDao;
import com.xdj.chashuiwu.study.entity.LTypeEntity;
import com.xdj.chashuiwu.study.service.LTypeService;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xdj.common.utils.PageUtils;
import com.xdj.common.utils.Query;

@Service("lTypeService")
public class LTypeServiceImpl extends ServiceImpl<LTypeDao, LTypeEntity> implements LTypeService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<LTypeEntity> page = this.page(
                new Query<LTypeEntity>().getPage(params),
                new QueryWrapper<LTypeEntity>()
        );

        return new PageUtils(page);
    }

}